package com.cloudkinto.service.company.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class InventoryInfo {
    private String cwSkuCode;

    private String cwWarehouseCode;
    private String cwWarehouseName;

    @ApiModelProperty("在库总库存")
    private int inStockQty;

    @ApiModelProperty("在途待入库")
    private int onOrderQty;

    @ApiModelProperty("可用库存")
    private int usableQty;

    public InventoryInfo() {
    }

    public InventoryInfo(String cwSkuCode, String cwWarehouseCode, String cwWarehouseName, int inStockQty, int onOrderQty, int usableQty) {
        this.cwSkuCode = cwSkuCode;
        this.cwWarehouseCode = cwWarehouseCode;
        this.cwWarehouseName = cwWarehouseName;
        this.inStockQty = inStockQty;
        this.onOrderQty = onOrderQty;
        this.usableQty = usableQty;
    }
}
